package com.lxlg.lxlg_order.service.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.lxlg.core.utils.Result;
import com.lxlg.lxlg_order.client.param.*;
import com.lxlg.lxlg_order.infra.model.GoodsOrder;

import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author kevin
 * @since 2022-04-28
 */
public interface GoodsOrderService extends IService<GoodsOrder> {

    Result<String> addFormOrder(FormOrderForm formOrderForm);

    void payFormOrder(FormOrderPayFOrm formOrderPayFOrm, HttpServletResponse resp) throws IOException;

    void formorderPayBack(String orderCode);

    Result<String> cancleFormOrder(String orderno);

    Result<String> doDeliverGoods(DeliverGoodsForm deliverGoodsForm);

    Result<String> doChangedeliverGoodsState(LogisticsStateForm logisticsStateForm);
}
